<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>缴存明细</title>
    <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="stylesheet" href="../../plugins/mui/mui.min.css">
    <link rel="stylesheet" type="text/css" href="../../css/my/fund/index.css"/>
    <script src="../../js/statistics.js"></script>
    <script src="../../js/fontset.js"></script>
</head>
<body>
<header class="mui-bar mui-bar-nav header">
    <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
    <h1 class="mui-title">缴存明细</h1>
</header>
<div class="mui-content" id="detail">
	
</div>	

<script type="text/javascript" src="../../plugins/jquery/jquery-3.1.0.min.js"></script>
<script src="../../plugins/mui/mui.min.js"></script>
<!--<script type="text/javascript" src="../plugins/mui/update.js"></script>-->
<script src="../../js/getApiToken.js"></script>
<script src="../../js/md5.js"></script>
<script src="../../plugins/template/template.js" ></script>
<script src="../../js/life_housekeeper/windowTitleView.js"></script>
<script type="text/html" id="detailTpl">
	<div class="card-list">
		<div class="card-list-header bg-primary">{{hjny | dateFormat}}</div>
		<div class="card-list-content">
			<div class="content-cell">
				<span>入账日期</span>
				<span>{{qrrq}}</span>
			</div>
			<div class="content-cell">
				<span>处理类型</span>
				<span>{{cllxname}}</span>
			</div>
			<div class="content-cell">
				<span>入账金额</span>
				<span>{{sr}}</span>
			</div>
			<div class="content-cell">
				<span>账户余额</span>
				<span>{{ye}}</span>
			</div>
			<div class="content-cell">
				<span class="mui-col-xs-4">存缴单位</span>
				<span class="mui-text-right mui-col-xs-8">{{snname}}</span>
			</div>
			<div class="content-cell">
				<span>职工姓名</span>
				<span class="mui-text-right mui-col-xs-8">{{spname}}</span>
			</div>
		</div>
	</div>
</script>
<script type="text/javascript">
	mui.init();
	mui.plusReady(function(){
		template.helper('dateFormat',function(date){
			if(date){
				var c =  date.split('.');
				var nDate = c[0]+"年"+parseInt(c[1])+"月";
				return nDate;
			}	
		});	
		var self = plus.webview.currentWebview(),
			detailInfo = self.detailInfo,
			detail = document.getElementById("detail"),
			detailHtml = template('detailTpl',detailInfo);
			detail.innerHTML = detailHtml;	
	})
	
</script>
</body>
</html>
